package com.sixmac.service;

import com.sixmac.core.toolbox.ajax.AjaxResult;

/**
 * Created by admin on 2018/6/9.
 */
public interface ContentService {
    AjaxResult getArticleById(Integer aid, Integer userId);

    AjaxResult thumb(Integer userId, Integer aid, Integer type);

    AjaxResult collection(Integer userId, Integer aid, Integer type);

    AjaxResult editComment(Integer userId, Integer aid, Integer pid,String content);

    AjaxResult showComment(Integer aid, Integer page, Integer size);
}
